package com.wac.data.service;

import com.wac.data.entity.Like;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author beta
 * @since 2023-03-16
 */
public interface LikeService extends IService<Like> {

	//点赞取消点赞
	boolean toLike(String userId, String entityId, String type);

	//查询是否点赞
	boolean isLike(String userId, String entityId);

	boolean delete(String id);
}
